package datasource;

/*
 * Udleveret af Erik Dybdahl.
 */	

import java.util.List;

public interface DAO {
	<T> T find(Class<T> clazz, Object key);

	<T> List<T> get(Class<T> clazz);

	<T> void persist(T object);
	
	<T> void merge(T object);

	
	void update();

	<T> void remove(T managed);

	void clear();
	
	
}